home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 May
/
EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso
/
recent2
/
qamitrack1.80.lha
/
QAmiTrack
/
source
/
TrackRexx_rxcl.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-04-06
|
2KB
|
37 lines
/*
* Source generated with ARexxBox 1.12 (May 18 1993)
* which is Copyright (c) 1992,1993 Michael Balzer
*/
#include <exec/types.h>
#include <dos/dos.h>
#include <rexx/storage.h>
#define NO_GLOBALS
#include "TrackRexx.h"
#define RESINDEX(stype) (((long) &((struct stype *)0)->res) / sizeof(long))
char RexxPortBaseName[80] = "QAMITRACK";
char *rexx_extension = "QAMITRACK";
struct rxs_command rxs_commandlist[] =
{
{ "CONNECT", "ACTION/K,ACTIONINDEX/K/N,HOST/K,HOSTINDEX/K/N,CONFIRM/K", NULL, 0, (void (*)(struct RexxHost *,void **,long,struct RexxMsg *)) rx_connect, 1 },
{ "GET", "CLIENTS/S,ACTIONS/S", "SERVER,PORT/N,CONFIRM/N,CONNECTED/N,NUMCLIENTS/N,ENABLED/N,NUMACTIONS/N,HIDDEN/N,COMMENT,LASTENTRYCLICKED/N,CLIENTS/M,COMMENTS/M,LASTCHANGED/M/N,ACTIONS/M,COMMANDS/M,CURRENTACTION/N,LOGFILE,SPEAKLEVEL,LOGLEVEL,USERNAMES/M,REALNAMES/M,WINOPEN/M/N,VIEWBY,VISIBLETO,USERNAME,REALNAME", RESINDEX(rxd_get), (void (*)(struct RexxHost *,void **,long,struct RexxMsg *)) rx_get, 1 },
{ "QUIT", NULL, NULL, 0, (void (*)(struct RexxHost *,void **,long,struct RexxMsg *)) rx_quit, 1 },
{ "REQUEST", "TITLE/K,MESSAGE/K,BUTTONS/K", "CLICKED/N", RESINDEX(rxd_request), (void (*)(struct RexxHost *,void **,long,struct RexxMsg *)) rx_request, 1 },
{ "SET", "ENABLED/K,HIDDEN/K,CONFIRM/K,LEFT/K/N,TOP/K/N,WIDTH/K/N,HEIGHT/K/N,COMMENT/K,SERVER/K,WINDOWTITLE/K,CURRENTACTIONINDEX/K/N,ACTION/K,PORT/K/N,CURRENTACTION/K,LOGFILE/K,SPEAKLEVEL/K,LOGLEVEL/K,VIEWBY", "ACTIONINDEX/N", RESINDEX(rxd_set), (void (*)(struct RexxHost *,void **,long,struct RexxMsg *)) rx_set, 1 },
{ NULL, NULL, NULL, NULL, NULL }
};
int command_cnt = 5;
static struct arb_p_link link0[] = {
{"SET", 1}, {"REQUEST", 2}, {"QUIT", 3}, {"GET", 4}, {"CONNECT", 5}, {NULL, 0} };
struct arb_p_state arb_p_state[] = {
{-1, link0}, {4, NULL}, {3, NULL}, {2, NULL}, {1, NULL},
{0, NULL} };